package com.example.prison.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 *
 * @TableName visitor_appointment
 */
@TableName(value ="visitor_appointment")
@Data
public class VisitorAppointment implements Serializable {
    /**
     * 编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 访客姓名
     */
    @ApiModelProperty(value = "访客姓名")
    @TableField(value = "visitor_name")
    private String visitorName;

    /**
     * 访客身份证号码
     */
    @ApiModelProperty(value = "访客身份证号码")
    @TableField(value = "id_card")
    private String idCard;

    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号")
    @TableField(value = "phone")
    private String phone;

    /**
     * 来访事由
     */
    @ApiModelProperty(value = "来访事由")
    @TableField(value = "visit_reason")
    private String visitReason;

    /**
     * 是否有车（0无车/1有车）
     */
    @ApiModelProperty(value = "是否有车（0无车/1有车）")
    @TableField(value = "is_car")
    private String isCar;

    /**
     * 来车数量
     */
    @ApiModelProperty(value = "来车数量")
    @TableField(value = "car_number")
    private Integer carNumber;

    /**
     * 车牌号(多车以英文逗号隔开)
     */
    @ApiModelProperty(value = "车牌号(多车以英文逗号隔开)")
    @TableField(value = "car_license")
    private String carLicense;

    /**
     * 拜访部门
     */
    @ApiModelProperty(value = "拜访部门")
    @TableField(value = "visit_department")
    private String visitDepartment;

    /**
     * 接待人员
     */
    @ApiModelProperty(value = "接待人员")
    @TableField(value = "receptionist")
    private String receptionist;

    /**
     * 预约时间(YYYY-MM-DD)
     */
    @ApiModelProperty(value = "预约时间(YYYY-MM-DD)")
    @TableField(value = "appointment_time")
    private String appointmentTime;

    /**
     * 预约状态（1已审核/2已失效）
     */
    @ApiModelProperty(value = "预约状态（1已审核/2已失效）")
    @TableField(value = "appointment_status")
    private String appointmentStatus;

    /**
     * 访客状态(0未进场/1已入场/2已通过监狱门岗检查/3已通过隔离仓检查/4已通过值班人员检查/5已出场)
     */
    @ApiModelProperty(value = "访客状态(0未进场/1已入场/2已通过监狱门岗检查/3已通过隔离仓检查/4已通过值班人员检查/5已出场)")
    @TableField(value = "visitor_status")
    private String visitorStatus;

    @ApiModelProperty(value = "门岗检查-进")
    @TableField(value = "in_gate_sentry")
    private String inGateSentry;

    @ApiModelProperty(value = "隔离仓-进")
    @TableField(value = "in_warehouse")
    private String inWarehouse;

    @ApiModelProperty(value = "值班警察-进")
    @TableField(value = "in_duty_police")
    private String inDutyPolice;

    @ApiModelProperty(value = "门岗检查-出")
    @TableField(value = "out_gate_sentry")
    private String outGateSentry;

    @ApiModelProperty(value = "隔离仓-出")
    @TableField(value = "out_warehouse")
    private String outWarehouse;

    @ApiModelProperty(value = "值班警察-出")
    @TableField(value = "out_duty_police")
    private String outDutyPolice;

    @ApiModelProperty(value = "接待人员-出")
    @TableField(value = "out_receptionist")
    private String outReceptionist;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
